<%@ page contentType="text/html; charset=UTF-8"%>
<%@ page isELIgnored="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib uri="/WEB-INF/tlds/template.tld" prefix='template'%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>MissingLove</title>
<link href="css/main.css" rel="stylesheet" type="text/css" />
<link href="css/admin.css" rel="stylesheet" type="text/css" />
<script type="text/javascript"
	src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
</head>

<body>
<div id="wrapper"><!-- ############ Header ############## -->
<div id="header"><a href="index.jsp"> <img src="img/logo.jpg"
	alt="Logo" class="logo" /> </a>
<div style="float: right; margin-top: 10px"><c:if
	test="${sessionScope.login}">
	<a href="logout.html">Logout</a>
</c:if> <c:if test="${sessionScope.login == null || !sessionScope.login}">
	<a href="login.jsp">Login</a>
	| <a href="register.jsp">Register</a>
</c:if></div>
</div>
<!-- ############ Top-Menu ############## -->
<div id="top_menu">Spiele</div>
<!-- ############ Top-Menu Shadow ############## -->
<div id="topmenu_shadow"></div>

<!-- ############ Content ############## -->
<div id="content_wrapper">
<div id="left_navi">
<ul id="left_menu">

<c:if test="${!sessionScope.login}">
	<li><a href="login.jsp">Login </a><br />
	<li><a href="register.jsp">Registrieren </a><br />
</c:if> 

<c:if test="${sessionScope.login}">
	<li><a href="home.jsp">Meine Seite</a><br />
	</li>
	<li><a href="home.jsp">Meine Spiele</a><br />
	</li>
	<li><a href="home.jsp">Kontakte</a><br />
	</li>
</c:if>
</ul>
<br />
</div>

<div id="content"><br />

<template:get name='content' /></div>

</div>
</div>

</body>
</html>
